import {observable, action} from 'mobx';

class RootStore {
  // 手机号码
  @observable mobile = '13512345678';
  @observable token = '';
  @observable userId = '135123456781612021283054';
  @action setUserInfo(mobile, token, userId) {
    this.mobile = mobile;
    this.token = token;
    this.userId = userId;
  }
}

export default new RootStore();
